<?php
/**
 * 巡展基金-线下活动
 * @author jianhui
 *
 */
class XunPOffline extends MY_Controller{
    function XunPOffline(){
        parent::MY_Controller();
    }
    /**
     * 线下活动明细查看
     */
    function detailCheck() {
        $offlineCostNo = trim($this->input->get('offlineCostNo'));
        $offlineCostNo || showError('请选择活动明细');
        //查看类别
        $checkType = $this->input->get('checkType');
        in_array($checkType, array('budget','settle')) || $checkType = 'budget';
        $this->viewData['checkType'] = $checkType;
        //线下活动明细列表
        $this->load->model('xPODetailModel');
        $this->viewData['offlineDetailList'] = $this->xPODetailModel->getNewList(array('offlineCostNo'=>$offlineCostNo));
        $this->load->view('XunPOffline/detailCheck', $this->viewData);
    }
}